//
//  AdView.h
//  JinMaJiaDemo
//
//  Created by GripMeMory on 15/9/10.
//  Copyright (c) 2015年 GripMeMory. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, UIPageControlShowStyle)
{
    UIPageControlShowStyleNone,//default
    UIPageControlShowStyleLeft,
    UIPageControlShowStyleCenter,
    UIPageControlShowStyleRight,
};

typedef NS_ENUM(NSUInteger, AdTitleShowStyle)
{
    AdTitleShowStyleNone,
    AdTitleShowStyleLeft,
    AdTitleShowStyleCenter,
    AdTitleShowStyleRight,
};

@interface AdView : UIScrollView <UIScrollViewDelegate>

@property (nonatomic, retain) UIPageControl *pageControl;
@property (nonatomic, retain) NSArray *imageArr;
@property (nonatomic, retain) NSArray *titleArr;

@property (nonatomic, assign, readwrite) UIPageControlShowStyle PageControlShowStyle;
@property (nonatomic, assign, readonly) AdTitleShowStyle adTitleShowStyle;

@end
